<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="stylesheets/general.css" />
        <title>Blogs 'R' Us</title>
    </head>
    <body>
      <%if(request.getParameter("page") == null){%>
        <jsp:include page="blogview.jsp"/>
      <%}else if(request.getParameter("page") != null && request.getParameter("page").equals("register")){
          %> <jsp:include page="register.jsp" /><%
      }else if(request.getParameter("page") != null && request.getParameter("page").equals("createNewPost")){
          %> <jsp:include page="createnewpost.jsp" /><%
      }%>
    </body>
</html>